#include <linux/kernel.h>
#include <linux/module.h>

extern int export_orig_normal;
extern int export_orig_gpl;

MODULE_LICENSE("GPL");

static __init int export_symbol_example_init(void)
{
	printk("Enter %s\n", __func__);	
	printk("export_orig_normal=%d\n", export_orig_normal);
	printk("export_orig_gpl=%d\n", export_orig_gpl);

	return 0;
}

static __exit void export_symbol_example_exit(void)
{
	printk("Bye export_symbol example!\n");
}

module_init(export_symbol_example_init);
module_exit(export_symbol_example_exit);
